package model

type ConstituteAddRes struct {
	BelongToId uint   `json:"belong_to_id" form:"belong_to_id" validate:"required,min=1"`
	Name       string `json:"name" form:"name" validate:"required"`
	Type       string `json:"type" form:"type" validate:"oneof=school academy profession"`
}

type ConstituteUpdateRes struct {
	ServiceId
	Name string `json:"name" form:"name" validate:"required"`
	Type string `json:"type" form:"type" validate:"oneof=school academy profession"`
}

type GetupResp struct {
	SchoolId     uint `json:"school_id"`
	AcademyId    uint `json:"academy_id"`
	ProfessionId uint `json:"profession_id"`
	GradeId      uint `json:"grade_id"`
}
